<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{#$pageValue.title#}{#$meta.title#}</title>
        <meta name="keywords" content="{#$meta.keywords#}" />
        <meta name="description" content="{#$meta.description#}" />
        {#foreach from=$pageoptions.metas item=v#}
        <meta  {#foreach from=$v item=v2 key=k2#} {#$k2#}="{#$v2#}" {#/foreach#} />
            {#/foreach#}

            <link rel="stylesheet" href="/css/global.css" />
            <link rel="stylesheet" href="/css/style.css" />
            <link rel="shortcut icon" href="/favicon.ico" />
            <link rel="icon" href="/animated_favicon.gif" type="image/gif" />
            <link rel="apple-touch-icon" href="/favicon_apple.png"/>
            <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
            <script type="text/javascript" src="/js/main.js"></script>
            <script type="text/javascript" src="/js/validate.js"></script>

<!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->
            {#foreach from=$pageoptions.csses item=v key=k#}
            <link rel="stylesheet" type="text/css" href="/css/{#$v#}.css" />
            {#/foreach#}
            {#foreach from=$pageoptions.jses item=v key=k#}
            <script type="text/javascript" src="/js/{#$v#}.js"></script>
            {#/foreach#}
            <!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->


            <body>
                <div class="wrap_s">
                    <header class="header">
                        <div class="inner_header">
                            <h1><a href="/" class="logo fl"> itrail </a></h1>
                        </div>
                    </header>